package br.ufc.engsoft.smm;

import android.Manifest;
import android.app.Activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;

public class LogoInicial extends Activity {
	MediaPlayer mp;
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);        
        mp = MediaPlayer.create(getBaseContext(), R.raw.tema01);
        mp.setLooping(true);
        mp.start();
    }
    public void onClick(View v) {
    	Intent i = new Intent(this,MenuPrincipal.class);	
    	startActivity(i);
    	mp.stop();
    	finish();
    }
}